﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bokeyuan.aspx.cs" Inherits="Web.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="home.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <p>获取博客园的精华区的文章进行分析</p>
    <asp:Button runat="server" ID="btnGet" Text="抓取精华区文章" Height="44px" 
            onclick="btnGet_Click" /></br>
 <asp:Repeater runat="server" ID="rtp">
<ItemTemplate>
<div class="onetwothree">
<div class="onetwofive">作者：<asp:Label runat="server" ID="labe" Text='<%# Eval("Author") %>'></asp:Label>&nbsp;&nbsp;&nbsp;标题：<asp:Label runat="server" ID="labg" Text='<%# Eval("ArticleTitle") %>'></asp:Label></div>
<div class="onetwosix">文章概要：<asp:Label runat="server" ID="lab" Text='<%# Eval("ArticleSummary") %>'></asp:Label>&nbsp;&nbsp;&nbsp;评论次数：<asp:Label runat="server" ID="Label1" Text='<%# Eval("ArticleComment") %>'></asp:Label></div>
</div>
</ItemTemplate>
</asp:Repeater>
 

    </div>
    </form>
</body>
</html>
